<script setup lang="ts"></script>
<template>
  <div class="not-found-wrapper">
    <div class="not-found-content">
      <div class="text-wrapper">
        <h1>404</h1>
        <p>Page not found</p>
      </div>
      <div class="button-wrapper">
        <RouterLink to="/" style="color: #ffffff; text-decoration: none">
          <ElButton type="primary" round> 返回首页 </ElButton>
        </RouterLink>
      </div>
    </div>
  </div>
</template>
<style lang="scss" scoped>
.not-found-wrapper {
  position: absolute;
  width: 95vw;
  height: 95vh;
  left: calc(5vw / 2);
  top: calc(5vh / 2);
  box-sizing: border-box;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 0 5px #eeeeee;
  .not-found-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    .text-wrapper {
      h1 {
        text-align: center;
      }
      margin-bottom: 20px;
    }
    .button-wrapper {
      text-align: center;
    }
  }
}
</style>
